Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / AbstractFolder Class / MoveItemsTo Method / MoveItemsTo(FileSystemEvents,Object,AbstractFolder,Boolean,Boolean,Object[]) Method
A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
Opaque data that will be passed back to the event handler when an event is raised.
An AbstractFolder object into which the folder's content must be moved. Cannot be null.
true if the content of the folders contained in the subfolders should be moved; false if only the current folder's content should be moved.
true if existing files in the destination should be replaced; false otherwise.
An array of objects that can be used to filter the items to be moved.


In This Topic
    MoveItemsTo(FileSystemEvents,Object,AbstractFolder,Boolean,Boolean,Object[]) Method
    In This Topic
    Moves the folder's items (files and empty folders) to another folder.
    Syntax
    'Declaration
     
    Public Overloads Sub MoveItemsTo( _
       ByVal events As FileSystemEvents, _
       ByVal userData As Object, _
       ByVal destinationFolder As AbstractFolder, _
       ByVal recursive As Boolean, _
       ByVal replaceExistingFiles As Boolean, _
       ByVal ParamArray filters() As Object _
    ) 
    'Usage
     
    Dim instance As AbstractFolder
    Dim events As FileSystemEvents
    Dim userData As Object
    Dim destinationFolder As AbstractFolder
    Dim recursive As Boolean
    Dim replaceExistingFiles As Boolean
    Dim filters() As Object
     
    instance.MoveItemsTo(events, userData, destinationFolder, recursive, replaceExistingFiles, filters)
    public void MoveItemsTo( 
       FileSystemEvents events,
       object userData,
       AbstractFolder destinationFolder,
       bool recursive,
       bool replaceExistingFiles,
       params object[] filters
    )

    Parameters

    events
    A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
    userData
    Opaque data that will be passed back to the event handler when an event is raised.
    destinationFolder
    An AbstractFolder object into which the folder's content must be moved. Cannot be null.
    recursive
    true if the content of the folders contained in the subfolders should be moved; false if only the current folder's content should be moved.
    replaceExistingFiles
    true if existing files in the destination should be replaced; false otherwise.
    filters
    An array of objects that can be used to filter the items to be moved.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also